package com.xgk.boot.module.core.dal.entity.base;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("currency_log")
public class CurrencyLogDO implements Serializable {
    @TableId(value = "cl_id", type = IdType.AUTO)
    private Long currencyLogId;
    /**
     * 货币代码
     */
    @TableField(value = "currency_code")
    private String currencyCode;

    /**
     * 原汇率
     */
    @TableField(value = "currency_rate")
    private Float currencyRate;

    /**
     * 操作人员;0:系统;用户ID
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 备注
     */
    @TableField(value = "note")
    private String note;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableId(value = "entity_id")
    private Long entityId;
    
    

}
